#include <gtest/gtest.h>
#include "my_library.h"

TEST(MyTestSuite, MyAdditionTest) {
    EXPECT_EQ(add(2, 3), 5);
    EXPECT_EQ(add(-1, 5), 4);
    EXPECT_EQ(add(0, 0), 0);
}

TEST(MyTestSuite, MyPrimeTest) {
    EXPECT_TRUE(isPrime(2));
    EXPECT_TRUE(isPrime(3));
    EXPECT_TRUE(isPrime(17));
    EXPECT_FALSE(isPrime(4));
    EXPECT_FALSE(isPrime(9));
}

int main(int argc, char** argv) {
    ::testing::InitGoogleTest(&argc, argv);
    return RUN_ALL_TESTS();
}
